﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bzure.Common.Core;
using System.Runtime.InteropServices;

namespace Bzure.Security.Permissions
{
    [global::System.AttributeUsage(AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
    [Serializable]
    [ComVisible(true)]
    public class RightFlagAttribute : EnumStringsAttribute
    {
        public string RightGroup { get; set; }
        public RightFlagAttribute(Type enumType, params string[] strings)
            : base(enumType, strings)
        {
            this.RightGroup = "系统权限";
        }
    }
}
